//
// Created by THE13 on 2024/2/6.
//

#ifndef CHICHIBOOM_UI_SIMLATOR_MVVM_INTERFACE_H
#define CHICHIBOOM_UI_SIMLATOR_MVVM_INTERFACE_H

#include "mvvm.h"

class _MVVM{

public:
    void tick()
    {
        if(!isInitialized)init();

        mvvm_tick();
    }


private:

    void init()
    {
        mvvm_init();
        isInitialized = true;
    }

    bool isInitialized = false;
}MVVM;//end class

#endif //CHICHIBOOM_UI_SIMLATOR_MVVM_INTERFACE_H
